package com.easybuy.service;

import com.easybuy.bean.EasybuyUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserService {

    //分页查询
    List<EasybuyUser> listUserByPage(int page,int pageSize);
    //新增
    int save(EasybuyUser easybuyUser);
    //按主键查询
    EasybuyUser selectByPK(EasybuyUser easybuyUser);

    //通过主键删除表数据
    Integer deleteByPK(@Param("euUserId") String euUserId);

    //修改
    Integer updatByPK(EasybuyUser easybuyUser);


    //分页号码
    int countAll();


}
